using UnityEngine;
using System.Collections;

public class GUI : MonoBehaviour {
    public Rect bigBox = new Rect(100, 50, 100, 100);
    public Rect buttonSize = new Rect(20, 10, 40, 20);
	// Use this for initialization
	void Start () {
	
	}
	
	// Update is called once per frame
	void Update () {
	
	}
    public void OnGUI()
    {
        //The background box
        GUI.BeginGroup();
        GUILayout.b();

       //The Game start button
        if (GUILayout.Button(new Rect(30, 40, 40, 20), "Game Start"))
        {
            //code to go to the game scene
        }

        //The credits button
        if (GUILayout.Button(new Rect(30, 50, 40, 20), "Credits"))
        {
            //code to go to credits
        }

        //Quit button
        if (GUILayout.Button(new Rect(20, 60, 30, 20), "Quit"))
        {
            //code for the quit button
        }

        GUI.EndGroup();
    }
}
